package com.system.connect.springboot_flowers.mapper;

import com.system.connect.springboot_flowers.entity.FlowerDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

// Mapper接口
@Mapper
public interface FlowerDetailMapper {
    FlowerDetail selectById(@Param("id") Long id);
    List<FlowerDetail> selectAll();
    int insert(FlowerDetail flowerDetail);
    int updateById(FlowerDetail flowerDetail);
    int deleteById(@Param("id") Long id);
}
